home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000253_news@columbia.edu_Fri Jun 30 11:53:12 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA24832
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 1 Jul 1995 05:57:39 -0400
  3. Received: by apakabar.cc.columbia.edu id AA08293
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 1 Jul 1995 05:57:37 -0400
  5. Path: news.columbia.edu!panix!bloom-beacon.mit.edu!gatech!howland.reston.ans.net!news.cac.psu.edu!psuvm!hdk
  6. Organization: Penn State University
  7. Date: Fri, 30 Jun 1995 15:53:12 EDT
  8. From: H. D. Knoble <HDK@psuvm.psu.edu>
  9. Message-Id: <95181.155312HDK@psuvm.psu.edu>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: network connectivity
  12. References: <bhuberDAyI80.EDw@netcom.com> <3t1hj9$p8o@apakabar.cc.columbia.edu>
  13. Lines: 51
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. An example of using MS-Kermit 3.14 to telnet using an NE2000 compatible
  17. ethernet card with it's own (on diskette that comes with most every
  18. ethernet card) packet driver (FTP Packet Driver specification) follows:
  19.  
  20. @Echo off
  21. REM Begin KERMTCP.BAT
  22. REM DOS Batch file to use to show use of MS-Kermit 3.14 with TCP/IP
  23. REM running over 'class 1' device using a (e.g.,CRYNWR) packet driver.
  24.  
  25. Rem Invoke your Packet Driver here; your card needs to be configured
  26. Rem for an "card interrupt number" and "I/O Address".
  27. Rem (usually by a software program that comes on the diskette that
  28. Rem  came with the card). Read docs on ethernet card diskette.
  29. Rem Following is CRYNWR (free) packet driver specifications.
  30. Rem  usage: ne2000 packet_int_no [int_no [io_addr]]
  31. ne2000 0x61 0x10 0x300
  32.  
  33. Rem Hostname is argumen to this .BAT file.
  34. set host=%1
  35. if "%1" == "" set host=LIBRARY.PSU.EDU
  36. kermit -f kermtcp.ini, Do telnet %host%, stay
  37. set host=
  38. REM End KERMTCP.BAT
  39.  
  40. ; KERMTCP.INI
  41. ;  Note: TCP/IP support began with MSKERMIT 3.11. So code here works
  42. ;        for MSK 3.11 thru 3.14.
  43. ; HDK - 3/3/90
  44. patch ; install patch file, MSR314.PCH, in this case.
  45. ; You may wish to run a script here which maps keyboard. E.g. take vt300.ini
  46. def telnet SET TCP/IP HOST \%1, SET PORT TCP/IP, connect, stay
  47. SET TERM VT220 ; This normally wouldn't be needed as VT320 usually works well.
  48. SET TCP/IP ADDRESS 128.118.50.xx  ; This is your PC's IP address.
  49. SET TCP/IP GATEWAY 128.118.50.1   ; This is the companion Router/Gateway
  50. SET TCP/IP PRIMARY-NAMESERVER 128.118.58.11  ; Wilbur.cac.psu.edu
  51. SET TCP/IP SECONDARY-NAMESERVER 128.118.25.3 ; OTC.psu.edu
  52. SET TCP/IP DOMAIN PSU.EDU                    ; We Are PSU
  53. SET TCP/IP SUBNETMASK 255.255.255.0          ; 8-bit addresses.
  54. ; NOTE: Kermit does Telnet but not TN3270.
  55.  
  56. SET DISPLAY 8 ;
  57. SET TERMINAL COLOR 0, 37, 44 ; This is ok even if you don't have color.
  58. Rem Some apps on some hosts mess up the screen something fierce. This
  59. Rem allows Alt-G to reset everything connected with that.
  60. DEF RSet RUN MODE CO80, c
  61. ; Alt-G resets: Kermit VTxxx Emulator (Kreset), DOS screen Mode,
  62. SET KEY \2338 {\{Kreset}\{KRSet}} ;  Alt-G resets it all.
  63. SET KEY \5493 \Kdump ;      Ctrl-Gray End is (also) screen image dump.
  64. DEF DISC hangup, run cls, q ;  Hangup for TCP/IP prevents exit prompt.
  65. SET KEY \2327 {\KDisc} ;  Alt-I=Immediate disconnect(hangup) & MS-Kermit exit.
  66.  
  67. ; End of KERMTCP.INI